package com.kashow.bean.live.push;

/**
 * Created by yybs on 17/1/3.
 */

public class PushResult {

    /**
     * success : true
     * live : {"_id":501,"teacher":5,"title":"测试测试发布课程","desc":"测试一下","startAt":"2017-01-03T16:00:00.000Z","price":1000,"score":10,"liveSharePic":"http://oh2ucnq1s.bkt.clouddn.com/d01220e4b4e54e5399258ce56c3a7653?imageslim","livePic":"http://oh2ucnq1s.bkt.clouddn.com/d01220e4b4e54e5399258ce56c3a7653?imageslim","category":1,"liveType":1,"__v":0,"playUrl":"http://pili-live-hls.kashowvr.com/test-kashowvr/36c3bbb00fe7479c95dcad786f080131.m3u8","stream":"36c3bbb00fe7479c95dcad786f080131","priority":1,"createdAt":"2017-01-04T03:02:00.336Z","a_watch":2,"a_stream":[],"watch":2,"status":1,"imgDescs":[],"cutdown":{"sec":0,"min":0,"hour":0,"day":0},"startTime":"00:00:00","startDate":"2017-01-04","id":"501","liveUrl":"rtmp://pili-publish.kashowvr.com/test-kashowvr/36c3bbb00fe7479c95dcad786f080131?e=1483506145&token=E4ZsWZ0EHXlTGgPpl5u3ob4HSpmeCPcfS2ug9kuU:fERVHy1YQEOBHlEvjH2ZUbITB1o="}
     */

    private boolean success;
    private LiveBean live;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public LiveBean getLive() {
        return live;
    }

    public void setLive(LiveBean live) {
        this.live = live;
    }

    public static class LiveBean {
        /**
         * _id : 501
         * teacher : 5
         * title : 测试测试发布课程
         * desc : 测试一下
         * startAt : 2017-01-03T16:00:00.000Z
         * price : 1000
         * score : 10
         * liveSharePic : http://oh2ucnq1s.bkt.clouddn.com/d01220e4b4e54e5399258ce56c3a7653?imageslim
         * livePic : http://oh2ucnq1s.bkt.clouddn.com/d01220e4b4e54e5399258ce56c3a7653?imageslim
         * category : 1
         * liveType : 1
         * __v : 0
         * playUrl : http://pili-live-hls.kashowvr.com/test-kashowvr/36c3bbb00fe7479c95dcad786f080131.m3u8
         * stream : 36c3bbb00fe7479c95dcad786f080131
         * priority : 1
         * createdAt : 2017-01-04T03:02:00.336Z
         * a_watch : 2
         * a_stream : []
         * watch : 2
         * status : 1
         * imgDescs : []
         * cutdown : {"sec":0,"min":0,"hour":0,"day":0}
         * startTime : 00:00:00
         * startDate : 2017-01-04
         * id : 501
         * liveUrl : rtmp://pili-publish.kashowvr.com/test-kashowvr/36c3bbb00fe7479c95dcad786f080131?e=1483506145&token=E4ZsWZ0EHXlTGgPpl5u3ob4HSpmeCPcfS2ug9kuU:fERVHy1YQEOBHlEvjH2ZUbITB1o=
         */

        private int _id;
        private int teacher;
        private String title;
        private String desc;
        private String startAt;
        private int price;
        private float score;
        private String liveSharePic;
        private String livePic;
        private int category;
        private int liveType;
        private String playUrl;
        private String stream;
        private int priority;
        private String createdAt;
        private int a_watch;
        private int watch;
        private int status;
        private CutdownBean cutdown;
        private String startTime;
        private String startDate;
        private String liveUrl;

        public int get_id() {
            return _id;
        }

        public void set_id(int _id) {
            this._id = _id;
        }

        public int getTeacher() {
            return teacher;
        }

        public void setTeacher(int teacher) {
            this.teacher = teacher;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getStartAt() {
            return startAt;
        }

        public void setStartAt(String startAt) {
            this.startAt = startAt;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public float getScore() {
            return score;
        }

        public void setScore(float score) {
            this.score = score;
        }

        public String getLiveSharePic() {
            return liveSharePic;
        }

        public void setLiveSharePic(String liveSharePic) {
            this.liveSharePic = liveSharePic;
        }

        public String getLivePic() {
            return livePic;
        }

        public void setLivePic(String livePic) {
            this.livePic = livePic;
        }

        public int getCategory() {
            return category;
        }

        public void setCategory(int category) {
            this.category = category;
        }

        public int getLiveType() {
            return liveType;
        }

        public void setLiveType(int liveType) {
            this.liveType = liveType;
        }

        public String getPlayUrl() {
            return playUrl;
        }

        public void setPlayUrl(String playUrl) {
            this.playUrl = playUrl;
        }

        public String getStream() {
            return stream;
        }

        public void setStream(String stream) {
            this.stream = stream;
        }

        public int getPriority() {
            return priority;
        }

        public void setPriority(int priority) {
            this.priority = priority;
        }

        public String getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(String createdAt) {
            this.createdAt = createdAt;
        }

        public int getA_watch() {
            return a_watch;
        }

        public void setA_watch(int a_watch) {
            this.a_watch = a_watch;
        }

        public int getWatch() {
            return watch;
        }

        public void setWatch(int watch) {
            this.watch = watch;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public CutdownBean getCutdown() {
            return cutdown;
        }

        public void setCutdown(CutdownBean cutdown) {
            this.cutdown = cutdown;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }

        public String getStartDate() {
            return startDate;
        }

        public void setStartDate(String startDate) {
            this.startDate = startDate;
        }

        public String getLiveUrl() {
            return liveUrl;
        }

        public void setLiveUrl(String liveUrl) {
            this.liveUrl = liveUrl;
        }

        public static class CutdownBean {
        }
    }
}
